<html>
<body>
<p>This inspection suggests to use <code>Integer.compare()</code>, etc. static methods where more verbose or less efficient constructs are
  used. For example, <code>x &gt; y ? 1 : x &lt; y ? -1 : 0</code> or <code>Integer.valueOf(x).compareTo(y)</code> could be
  replaced with <code>Integer.compare(x, y)</code>.</p>
<p><code>Double.compare</code> and <code>Float.compare</code> methods appeared in Java 1.4, methods for other primitive types
   are available since Java 1.7</p>
<!-- tooltip end -->
<p><small>New in 2017.2</small></p>
</body>
</html>